var React = require('react');

//
// <ModalDialog dialogTitle="对话框标题">
//   ...
// </ModalDialog>
//

module.exports = function ModalDialog(props) {
  return /*#__PURE__*/ React.createElement("div", {
    className: "modal-dialog"
  }, /*#__PURE__*/ React.createElement("div", {
    className: "modal-content"
  }, /*#__PURE__*/ React.createElement("div", {
    className: "modal-header"
  }, typeof props.dialogTitle === 'string' && props.dialogTitle !== '' && /*#__PURE__*/ React.createElement(
    "h5", {
      className: "modal-title"
    }, props.dialogTitle), /*#__PURE__*/ React.createElement("button", {
    type: "button",
    className: "close",
    "data-dismiss": "modal",
    "aria-label": "Close"
  }, /*#__PURE__*/ React.createElement("span", {
    "aria-hidden": "true"
  }, "\xD7"))), props.children));
};